ElasticPress\Feature\ProtectedContent\ProtectedContent S

Total Complexity 45
Dependencies 2
Dependents 1
Total lines 408
Lines of code 185
Logical lines of code 96
Comment lines 164
Methods 15
Properties 0

Methods 15

Method Rating Maintainability Complexity Lines of code
integrate()
A
47 10 35
integrate_comments_query()
A
53 8 23
remove_fields_from_password_protected()
S
52 6 26
exclude_protected_posts()
S
60 5 12
setup()
S
54 3 20
post_types()
S
54 2 23
include_post_password()
S
71 2 5
requirements_status()
S
68 2 7
__construct()
S
63 1 10
query_password_protected_posts()
S
76 1 4
return_post_password()
S
77 1 4
output_feature_box_long()
S
74 1 5
get_statuses()
S
72 1 5
get_comment_statuses()
S
81 1 3
sync_password_protected()
S
82 1 3